<template>
  <div class="app-container home">
    <el-button @click="show">选择用户</el-button>
    <SysUserVue ref="SysUserVueRef" rowKey='userId' @handleSave="handleSave"/>
  </div>
</template>

<script>
import SysUserVue from '@/components/DialogTable/SysUser.vue';
export default {
  name: "Index",
  components:{
    SysUserVue
  },
  data() {
    return {
      checkData:[]
    };
  },
  methods: {
    show(){
      this.$refs.SysUserVueRef.show(this.checkData)
    },
    handleSave(data){
      this.checkData = data
    }
  }
};
</script>

<style scoped lang="scss">
.home {

}
</style>

